/*
 * Copyright (c) 2021, 2022, yzfh.cn All rights reserved.
 *
 */
package com.ly.mapper;

import com.ly.domain.Role;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author yzfh
 * @Date 2022/02/23 星期三 11:13:22
 */
public interface RoleMapper {

    @Select("select * from sys_user_role ur,sys_role r where ur.roleId = r.id and ur.userId =#{uid}")
    List<Role> findByUid(int uid);

}
